package com.ynyyrj.school.service;

import com.ynyyrj.school.pojo.MajorList;
import com.ynyyrj.school.pojo.SchoolList;
import com.ynyyrj.school.pojo.StudentList;
import com.ynyyrj.school.pojo.school;

import java.util.Collection;
import java.util.List;

public interface SchListService {
    Collection<SchoolList> GetSchoolList();
    int addSchool(school school);
    List<String> GetName();
    int delSchool(String name);
    int updaSchool(school school);
    int selectId(String name);
    String selectName(int aid);
    List<Integer> GetAid();
    Collection<MajorList> GetMajorList(String name);
    Collection<StudentList> GetStudentList(String name1, String name2);

}
